<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="public::head('查看汇总表')">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="UTF-8"></meta>
</head>
<body style="padding-top:0px;">
<input type="hidden" th:value="${xiangmuId}" id="xiangmuId">
<input type="hidden" th:value="${xiangmuLeixing}" id="xiangmuLeixing">

<div id="Shengchanqiyelist">


    <div class="primary-content">

        <div style="margin-top:15px;text-align: center;font-size:24px">
            <span class="btn btn-info" style="float:left;margin-right:15px;margin-top:10px;"
                  v-on:click="toback()">返回</span>
            <label  >{{xiangmu.xiangmuname}}表决结果汇总表</label>


        </div>
        <div v-if="xiangmuLeixing=='219'" style="text-align: center;font-size:24px;margin-bottom: 20px;">
            <label  style="font-size:22px; ">{{keshi}}{{totalcount}}个品规<span v-if="needcount > 0">，保留不超过{{needcount}}个品规</span>，已通过{{passcount}}个品规</label>
        </div>
        <div id="List" style="margin-top: 20px;">
        </div>

        <div v-if="!show" style="text-align:center;width:100%;">查无数据</div>

        <div v-if="show" class="my-page-navigation">
            <button class="btn btn-default" v-on:click="SetPageIndex">首页</button>
            <button class="btn btn-default" v-on:click="SetPageIndexPrePage">上一页</button>
            <span v-text="pageIndex + '  /  ' + pageCount"></span>
            <span v-text="'共' + recordCount + '条' + getCounttext"></span>
            <button class="btn btn-default" v-on:click="SetPageIndexNextPage">下一页</button>
            <button class="btn btn-default" v-on:click="SetPageEnd">尾页</button>
            <span>跳到第</span>
            <input type="text" class="form-control" style="width: 80px;display:inline-block;"  v-model="inputPageIndexValue" v-on:keyup.enter="JumpPage">
            <span>页</span>
            <button class="btn btn-default" v-on:click="JumpPage">跳</button>
        </div>
    </div>
</div>
<script th:src="@{/js/TyConfig.js?v=1.05}"></script>
<script th:src="@{/js/main/Huizongbiaoview.js?v=1.0}"></script>
</body>

<script type="text/javascript">
    var ID = $("#id").val();
    $(function() {
        if(ID==""){
            alert("请先登录！");
            location.href='../main/login';
        }
    })


</script>


<style>
    .hovermain{
        position: relative;
    }
    .hovertip{
        position: absolute;
        top: 0;
        left: 100%;
        font-size: 16px;
        color: #333;
        background-color: #fff;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        width: 400px;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        padding: 10px;
        z-index: 1000;
        font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
        text-indent: 2em;
        text-align: left;
    }
    .hovermain:hover .hovertip{
        opacity: 1;
        visibility: visible;
        transform: translateX(5px);
    }
    .hovermain .text-content {
        word-wrap: break-word;
        word-break: break-all;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
    }
    table{
        border:1px solid #e6e6e6;
        /*line-height: 5vh;*/
        color:#666666;
        font-size: 16px;
    }
    table {
        border-collapse: collapse;
        width: 100%;
    }
    td {
        padding:5px;
        border:1px solid #e6e6e6;
        font-size: 14px;
    }
    .table-head{background-color: #CDCDCD;color:#000;padding-right:17px;}
    .table-body{width:100%; height:700px;overflow-y:scroll;}
    .table-head table,.table-body table{width:100%;}
    .table-body table tr:nth-child(2n+1){background-color:#f2f2f2;}

    .table-body table tr:hover {
        background-color:#dff0d8;
        transition: .2s;
    }
    .table-body table tr:hover td{background-color:rgb(240, 249, 228);}
    .huanghang {
        word-wrap: break-word;
    }
</style>

<style>
    a {
        text-decoration: none;
        color:#333;
    }
    /*正常的未被访问过的链接*/
    a:link {
        text-decoration: none;
    }
    /*已经访问过的链接*/
    a:visited {
        text-decoration: none;
    }
    /*鼠标划过(停留)的链接*/
    a:hover {
        text-decoration: none;
    }
    /* 正在点击的链接*/
    a:active {
        text-decoration: none;
    }
</style>

</html>